package com.hll.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: Mr.Hu
 * @create: 2021-03-13 22:14
 */
@Controller
public class controller {
  @RequestMapping("/interceptor")
  @ResponseBody
  public String testFunction() {
    System.out.println("控制器中的方法执行了");
    return "hello";
  }
}
